package com.letoken.platform.repo.wallet.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author letokenlabs
 * @date 2022/11/16$
 */
@Data
@ApiModel(value = "提现申请对象", description = "提现申请对象")
public class WithdrawReq {

    @ApiModelProperty(name = "id", value = "提现订单ID", required = true, example = "1")
    @NotBlank(message = "80201001")
    private String id;

    @ApiModelProperty(name = "txHash", value = "交易hash(可为空)", required = false, example = "0x....")
    private String txHash;
}
